package com.wmzdq.aiservice.feign;

import com.wmzdq.vo.BaseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="services",contextId = "pi-service",path="services/baby")
public interface BabyService {
    @GetMapping("/handle")
    public BaseVo handle(@RequestParam("type") String type, @RequestParam(value = "capacity",required = false) int capacity,@RequestParam("datetime") String datetime);
}
